package cn.iotab.iotkit.transport.api.access.handler;

import cn.iotab.iotkit.transport.api.access.model.message.DeviceMessage;
import cn.iotab.iotkit.transport.api.access.model.message.DeviceMessageReply;
import com.google.common.util.concurrent.ListenableFuture;

/**
 * 下行，设备消息的发送
 */
public interface DeviceMessageSender {

    ListenableFuture<DeviceMessageReply> sendMessage(DeviceMessage message);

    void sendReply(String sessionId, DeviceMessageReply reply);
}
